package com.woniuxy.merchant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalTime;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 站点信息表
 * </p>
 *
 * @author author
 * @since 2025-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("site")
@ApiModel(value="Site对象", description="站点信息表")
public class Site implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "站点ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "站点名称")
    private String siteName;

    @ApiModelProperty(value = "站点地址")
    private String siteAddress;

    @ApiModelProperty(value = "经度")
    private Double longitude;

    @ApiModelProperty(value = "纬度")
    private Double latitude;

    @ApiModelProperty(value = "营业时间")
    private String businessHours;

    @ApiModelProperty(value = "状态（1正常 0暂停营业）")
    private Integer status;

    @ApiModelProperty(value = "是否删除（0删除 1未删除）")
    private Integer isDelet;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime creatTime;

    @ApiModelProperty(value = "站点联系人电话")
    private String siteUserPhone;

    @ApiModelProperty(value = "站点简介")
    private String siteDesc;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "区县")
    private String district;

    @ApiModelProperty(value = "被评分次数")
    private Integer ratedNum;

    @ApiModelProperty(value = "总评分")
    private Integer ratedAll;

    @ApiModelProperty(value = "站长姓名")
    private String userName;

    @ApiModelProperty(value = "站长Id")
    private Integer userId;



}
